package top.aicey.ai.sparring.dto.res;

import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;
import top.aicey.ai.sparring.dto.enums.SceneStatusEnum;

@Data
@ToString(callSuper = true)
@ApiModel("登录返回对象")
public class LoginResponse{

    @JsonProperty(value = "user_id")
    @ApiModelProperty(name = "user_id",value = "用户id")
    private String userId;

    @JsonProperty(value = "username")
    @ApiModelProperty(name = "username",value = "用户名字")
    private String username;

    @ApiModelProperty(name = "account",value = "账号")
    @JsonProperty(value = "account")
    private String account;

    /**
     * 角色id
     */
    @ApiModelProperty(name = "role_id",required = false,value = "修改人id")
    @JsonProperty(value = "role_id")
    private Long roleId;

    /**
     * 角色名
     */
    @ApiModelProperty(name = "role_name",required = false,value = "修改人id")
    @JsonProperty(value = "role_name")
    private String roleName;

    /**
     * access_token
     */
    @ApiModelProperty(name = "access_token",required = false,value = "access_token")
    @JsonProperty(value = "access_token")
    private String accessToken;
}
